package com.bdqn.t382.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdqn.t382.pojo.SysUser;

import java.util.List;

public interface SysUserService {
    //分页
    public Page selectPage(Integer current, Integer size);

    //根据ID查询
    public SysUser selectById(Integer id);

    //根据ID删除
    public int deleteById(Integer id);

    //修改
    public int updateById(SysUser sysUser);

    //添加用户信息
    public int insert(SysUser sysUser);

    //登录
    public SysUser login(String account, String password);

    //根据名字查询
    public SysUser selectByName(String realName);
}
